package com.example.orderconsumer.bean;

import org.springframework.context.annotation.Bean;

public class Inventory {
    private Long id;
    private Long productId;
    private Integer totalStock;
    private Integer lockedStock;
    private Integer availableStock;
    private String identification = "Inventory Service";

    public Long getId(){
        return id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public Long getProductId(){
        return productId;
    }
    public void setProductId(Long productId){
        this.productId = productId;
    }
    public Integer getTotalStock(){
        return totalStock;
    }
    public void setTotalStock(Integer totalStock){
        this.totalStock = totalStock;
    }
    public Integer getLockedStock(){
        return lockedStock;
    }
    public void setLockedStock(Integer lockedStock){
        this.lockedStock = lockedStock;
    }
    public Integer getAvailableStock(){
        return availableStock;
    }
    public void setAvailableStock(Integer availableStock){
        this.availableStock = availableStock;
    }
    public String getIdentification(){
        return identification;
    }
    public void setIdentification(String identification){
        this.identification = identification;
    }
}